package com.fosun.spr.core.base;

import java.util.List;

import com.fosun.spr.core.utils.ExtBeanUtils;

public abstract class CoBaseBussiness {

	@SuppressWarnings("rawtypes")
	protected static void cglibCopyProperties(Class sClass, Class tClass,
			Object source, Object target, boolean useConverter) {

		ExtBeanUtils.cglibCopyProperties(sClass, tClass, source, target,
				useConverter);
	}

	@SuppressWarnings("rawtypes")
	protected static <T> List<T> cglibCopyPropertiesList(Class sClass,
			Class tClass, Object sourceList, boolean useConverter) {

		return ExtBeanUtils.cglibCopyPropertiesList(sClass, tClass, sourceList,
				useConverter);
	}
}
